package com.genia.toolbox.projects.sample_ws_trampo.war.ws.interceptor;

import org.apache.cxf.message.Message;

public class InterceptorWrapper {

	private final Message message;

	public InterceptorWrapper(final Message msg){
		this.message = msg;
	}

	public Object	getEncoding(){
		return (this.message.get(Message.ENCODING));
	}

	public Object getProtocolHeaders(){
		return (message.get(Message.PROTOCOL_HEADERS));
	}

	public Object getContent(java.lang.Class<?> abstractClass){
		return message.getContent(abstractClass);
	}
}
